package com.zlp.mybatisplus.mybatisplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 门店销售渠道
 * </p>
 *
 * @author zhulaiping
 * @since 2022-03-22
 */
@TableName("bcrm_sales_channel")
public class SalesChannel extends Model<SalesChannel> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 门店渠道编码
     */
    @TableField("Sales_Channel_Code")
    private String salesChannelCode;

    /**
     * 父级门店渠道编码
     */
    @TableField("Parent_Sales_Channel_Code")
    private String parentSalesChannelCode;

    /**
     * 门店渠道类型编码
     */
    @TableField("Sales_Channel_Type_Code")
    private String salesChannelTypeCode;

    /**
     * 门店中文名称
     */
    @TableField("Sales_Channel_Name_CN")
    private String salesChannelNameCn;

    /**
     * 门店中文全称
     */
    @TableField("Sales_Channel_Full_Name_CN")
    private String salesChannelFullNameCn;

    /**
     * 门店英文名称
     */
    @TableField("Sales_Channel_Name_EN")
    private String salesChannelNameEn;

    /**
     * 门店英文全称
     */
    @TableField("Sales_Channel_Full_Name_EN")
    private String salesChannelFullNameEn;

    /**
     * 渠道路径编码
     */
    @TableField("Sales_Channel_Path_Code")
    private String salesChannelPathCode;

    /**
     * 一级渠道编码
     */
    @TableField("Sales_Channel_L1_Code")
    private String salesChannelL1Code;

    /**
     * 二级渠道编码
     */
    @TableField("Sales_Channel_L2_Code")
    private String salesChannelL2Code;

    /**
     * 三级渠道编码
     */
    @TableField("Sales_Channel_L3_Code")
    private String salesChannelL3Code;

    /**
     * 四级渠道编码
     */
    @TableField("Sales_Channel_L4_Code")
    private String salesChannelL4Code;

    @TableField("Is_CS")
    private String isCs;

    /**
     * 门店渠道备注
     */
    @TableField("Sales_Channel_Comment")
    private String salesChannelComment;

    /**
     * 状态
     */
    @TableField("Data_Status")
    private Integer dataStatus;

    /**
     * 创建人
     */
    @TableField("Created_By")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField("Created_Time")
    private Date createdTime;

    /**
     * 最终修改人
     */
    @TableField("Last_Modified_By")
    private String lastModifiedBy;

    /**
     * 最终修改时间
     */
    @TableField("Last_Modified_Time")
    private Date lastModifiedTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getSalesChannelCode() {
        return salesChannelCode;
    }

    public void setSalesChannelCode(String salesChannelCode) {
        this.salesChannelCode = salesChannelCode;
    }
    public String getParentSalesChannelCode() {
        return parentSalesChannelCode;
    }

    public void setParentSalesChannelCode(String parentSalesChannelCode) {
        this.parentSalesChannelCode = parentSalesChannelCode;
    }
    public String getSalesChannelTypeCode() {
        return salesChannelTypeCode;
    }

    public void setSalesChannelTypeCode(String salesChannelTypeCode) {
        this.salesChannelTypeCode = salesChannelTypeCode;
    }
    public String getSalesChannelNameCn() {
        return salesChannelNameCn;
    }

    public void setSalesChannelNameCn(String salesChannelNameCn) {
        this.salesChannelNameCn = salesChannelNameCn;
    }
    public String getSalesChannelFullNameCn() {
        return salesChannelFullNameCn;
    }

    public void setSalesChannelFullNameCn(String salesChannelFullNameCn) {
        this.salesChannelFullNameCn = salesChannelFullNameCn;
    }
    public String getSalesChannelNameEn() {
        return salesChannelNameEn;
    }

    public void setSalesChannelNameEn(String salesChannelNameEn) {
        this.salesChannelNameEn = salesChannelNameEn;
    }
    public String getSalesChannelFullNameEn() {
        return salesChannelFullNameEn;
    }

    public void setSalesChannelFullNameEn(String salesChannelFullNameEn) {
        this.salesChannelFullNameEn = salesChannelFullNameEn;
    }
    public String getSalesChannelPathCode() {
        return salesChannelPathCode;
    }

    public void setSalesChannelPathCode(String salesChannelPathCode) {
        this.salesChannelPathCode = salesChannelPathCode;
    }
    public String getSalesChannelL1Code() {
        return salesChannelL1Code;
    }

    public void setSalesChannelL1Code(String salesChannelL1Code) {
        this.salesChannelL1Code = salesChannelL1Code;
    }
    public String getSalesChannelL2Code() {
        return salesChannelL2Code;
    }

    public void setSalesChannelL2Code(String salesChannelL2Code) {
        this.salesChannelL2Code = salesChannelL2Code;
    }
    public String getSalesChannelL3Code() {
        return salesChannelL3Code;
    }

    public void setSalesChannelL3Code(String salesChannelL3Code) {
        this.salesChannelL3Code = salesChannelL3Code;
    }
    public String getSalesChannelL4Code() {
        return salesChannelL4Code;
    }

    public void setSalesChannelL4Code(String salesChannelL4Code) {
        this.salesChannelL4Code = salesChannelL4Code;
    }
    public String getIsCs() {
        return isCs;
    }

    public void setIsCs(String isCs) {
        this.isCs = isCs;
    }
    public String getSalesChannelComment() {
        return salesChannelComment;
    }

    public void setSalesChannelComment(String salesChannelComment) {
        this.salesChannelComment = salesChannelComment;
    }
    public Integer getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }
    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }
    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
    public String getLastModifiedBy() {
        return lastModifiedBy;
    }

    public void setLastModifiedBy(String lastModifiedBy) {
        this.lastModifiedBy = lastModifiedBy;
    }
    public Date getLastModifiedTime() {
        return lastModifiedTime;
    }

    public void setLastModifiedTime(Date lastModifiedTime) {
        this.lastModifiedTime = lastModifiedTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SalesChannel{" +
        "id=" + id +
        ", salesChannelCode=" + salesChannelCode +
        ", parentSalesChannelCode=" + parentSalesChannelCode +
        ", salesChannelTypeCode=" + salesChannelTypeCode +
        ", salesChannelNameCn=" + salesChannelNameCn +
        ", salesChannelFullNameCn=" + salesChannelFullNameCn +
        ", salesChannelNameEn=" + salesChannelNameEn +
        ", salesChannelFullNameEn=" + salesChannelFullNameEn +
        ", salesChannelPathCode=" + salesChannelPathCode +
        ", salesChannelL1Code=" + salesChannelL1Code +
        ", salesChannelL2Code=" + salesChannelL2Code +
        ", salesChannelL3Code=" + salesChannelL3Code +
        ", salesChannelL4Code=" + salesChannelL4Code +
        ", isCs=" + isCs +
        ", salesChannelComment=" + salesChannelComment +
        ", dataStatus=" + dataStatus +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", lastModifiedBy=" + lastModifiedBy +
        ", lastModifiedTime=" + lastModifiedTime +
        "}";
    }
}
